package com.size.mall.mallapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.size.mall.mallapi.entity.Member;
import com.size.mall.mallapi.entity.UmsMemberReceiveAddress;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author Helen
 * @since 2019-10-18
 */
public interface MemberService extends IService<Member> {

    Member login(Member umsMember);

    void addUserToken(String token, String memberId);


    List<UmsMemberReceiveAddress> getMemberReceiveAddressByMemberId( String memberId);

    UmsMemberReceiveAddress getAddrByReciveAddressId(String receiveAddressId);
}
